Skip to main content

mergAVCamSet

Type

command

Summary

Set a property of the camera control

Syntax

mergAVCamSet <pProp>, <pValue>

Description

Set a property of the camera control

Parameters

NameTypeDescription

pProp

the property to set which will be one of:

  • rect : the rect of the control

  • visible : the visible of the control

  • quality : the quality of the camera which will be one of:

    • photo
    • high
    • medium
    • low
    • 352x288
    • 640x480
    • iFrame960x540
    • 1280x720
    • iFrame1280x720. The camera defaults to high.
  • camera : one of:

    • rear camera
    • front camera. The camera defaults to rear. You may use a device id as returned by video devices or muxed devices.
  • microphone : This will be a device id as returned by audio devices.

  • flash : one of:

    • on
    • off
    • auto. The camera defaults to auto.
  • torch : one of:

    • on
    • off
    • auto. The camera defaults to auto.
  • exposure mode : one of: locked

    • auto - the device automatically adjusts the exposure once and then changes the exposure mode to locked.
    • continuous. If set to auto - the device continuously monitors exposure levels and auto exposes when necessary.
  • white balance mode : one of: locked

    • auto - the device automatically adjusts the white balnce once and then changes the white balnce mode to locked.
    • continuous. If set to auto - the device continuously monitors white balnce levels and adjusts when necessary.
  • max frame rate : a frame rate in frames per second

  • min frame rate : a frame rate in frames per second

  • zoom : (iOS only) a number between 1.0 and the max zoom

pValue

the value to set the property to

Compatibility and Support

Introduced

LiveCode 8.0

OS

ios

mac

Platforms

desktop

mobile

Thank you for your feedback!

Was this page helpful?